Cover continuation and listener behaviour when registering no-op manager during tests#11762
Conversation
…ger during tests.
…Impl (couple of branches involve a nanosecond CAS race that can't be reliably reproduced)
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
PerfectSlayer
left a comment
There was a problem hiding this comment.
Looking good for the test changes but I would rather have @bric3 to review impact of afterEvaluate use 🙏
| extra["excludedClassesBranchCoverage"] = | ||
| listOf("datadog.context.ThreadLocalContextManager.ContextContinuationImpl") | ||
|
|
||
| afterEvaluate { |
There was a problem hiding this comment.
Requesting review from @bric3 about afterEvaluate usage
There was a problem hiding this comment.
I belive afterEvaluate should not be needed, because the jacoco task is already using the lazy API. I.e. you can configure the task the same way just without afterEvaluate.
As a rule of thumb, afterEvaluate is mostly appropriate for validating finalized configuration, not for modifying task configuration.
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
75f8482
into
master
Motivation
Get
./gradlew :components:context:checkto pass locallyContributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issue/merge. You can also:/merge --commit-message "..."/merge -c/merge -f --reason "reason"; please use this judiciously, as some checks do not run at the PR-level (note: the PR still needs to be mergeable, this will only skip the pre-merge build)Jira ticket: [PROJ-IDENT]